
package ConversorVolume;


public class ConversorLitro {
    private double metroC;
    private double litro;
    private double ml;

    public ConversorLitro(){
        
    }
    
    public double converteMetroC(){
        litro = metroC*1000;
        return litro;
    }
    
    public double converteMl(){
        litro = ml/1000;
        return litro;
    }
    
    
    /**
     * @return the metroC
     */
    public double getMetroC() {
        return metroC;
    }

    /**
     * @param metroC the metroC to set
     */
    public void setMetroC(double metroC) {
        this.metroC = metroC;
    }

    /**
     * @return the litro
     */
    public double getLitro() {
        return litro;
    }

    /**
     * @param litro the litro to set
     */
    public void setLitro(double litro) {
        this.litro = litro;
    }

    /**
     * @return the ml
     */
    public double getMl() {
        return ml;
    }

    /**
     * @param ml the ml to set
     */
    public void setMl(double ml) {
        this.ml = ml;
    }
}
